package carclockpack;

public class ClockSetRunner {


	public static void main(String[] args) {
		ClockSetup clockSetup = new ClockSetup();

		// Setup starts in 'year' state
		clockSetup.rotateKnobRight();
		clockSetup.pushKnob(); // 1 year on

		// Setup should now be in 'month' state
		clockSetup.rotateKnobRight();
		clockSetup.rotateKnobRight();
		clockSetup.pushKnob(); // 2 months on

		// Setup should now be in 'day' state
		clockSetup.rotateKnobRight();
		clockSetup.rotateKnobRight();
		clockSetup.rotateKnobRight();
		clockSetup.pushKnob(); // 3 days on
		// Setup should now be in 'hour' state
		clockSetup.rotateKnobLeft();
		clockSetup.rotateKnobLeft();
		clockSetup.pushKnob(); // 2 hours back

		// Setup should now be in 'minute' state
		clockSetup.rotateKnobRight();
		clockSetup.pushKnob(); // 1 minute on

		// Setup should now be in 'finished' state
		clockSetup.pushKnob(); // to display selected date
	}

}
